<template>
  <a-card :body-style="{padding: '24px 32px'}" :bordered="false">
    <a-tabs defaultActiveKey="1" @change="callback">
      <a-tab-pane tab="Tab 1" key="1">111111</a-tab-pane>
      <a-tab-pane tab="Tab 2" key="2" forceRender>2222</a-tab-pane>
      <a-tab-pane tab="Tab 3" key="3">3333</a-tab-pane>
    </a-tabs>
  </a-card>
</template>

<script>
export default {
  data() {
    return {
      description: '这里是测试表单。'
    }
  },
  methods: {
    callback(key) {
      console.log(key)
    }
  }
}
</script>